#define _CRT_SECURE_NO_WARNINGS

#include"Heap.h"

int main()
{
	Heap sb;
	HeapInit(&sb);
	HeapPush(&sb, 2);
	HeapPush(&sb, 29);
	HeapPush(&sb, 4);
	HeapPush(&sb, 6);
	HeapPush(&sb, 34);
	HeapPush(&sb, 1);

	HeapPop(&sb);
	printf("%d  ", HeapTop(&sb));


	HeapPop(&sb);
	printf("%d  \n", HeapTop(&sb));

	printf("%d  \n", HeapSize(&sb));

	return 0;
}